<script type="text/javascript">
	//更改url中的参数值   例如 url = xuexin/Goods/
	// 由 setURLArg(setURLArg(setURLArg(url,'sort',type),'order',order));
	// 得 xuexin/Goods/sort-hit/order-desc/test-test1/
	function setURLArg(url,arg,arg_val){
		var pattern=arg+'-([^/]*)';
		var pattern2=arg+'=([^&]*)';
		var replaceText = '';
		if(arg_val!=''){
			replaceText=arg+'-'+arg_val;
		}
		if(url.match(pattern)){
			if(arg_val==''){
				var tmp2='/('+ arg+'-)([^/]*)\\//gi';
				url=url.replace(eval(tmp2),'');
			}
			var tmp='/('+ arg+'-)([^/]*)/gi';
			tmp=url.replace(eval(tmp),replaceText);
			return tmp;
		}else if(url.match(pattern2)){
			if(arg_val==''){
				var tmp2='/\\&('+ arg+'=)([^&]*)/gi';
				url=url.replace(eval(tmp2),'');
			}
			var tmp='/('+ arg+'=)([^&]*)/gi';
			tmp=url.replace(eval(tmp),replaceText.replace('-','='));
			return tmp;
		}else if(arg_val!=''){
			if(url.match('[\?]')){
				return url+'&'+replaceText.replace('-','=');
			}else{
				if(url.substr(-1)=='/'){
					return url+replaceText+'/';
				}else{
					return url+'/'+replaceText+'/';
				}
			}
		}
		return url;
	}
</script>
{{if $smarty.get.act!=oauth_login}}
<div class="footer {{if $smarty.get.act==index}}login_f{{else if $smarty.get.act=register}}regi_f{{/if}}">
	<div class="link">
		<a>友情链接：</a>
		<a href="javascript:">学院概况</a><span></span>
		<a href="javascript:">政策法规</a><span></span>
		<a href="javascript:">服务平台</a><span></span>
		<a href="javascript:">下载专区</a><span></span>
		<a href="javascript:">联系我们</a><span></span>
		<a href="javascript:">后台管理</a>
	</div>
	<div class="msg">
		<p>地址：广东省茂名市茂南区官渡二路139号广东石油化工学院</p>
		<p>联系电话：13900000 <span>邮箱：12455@163.com</span></p>
	</div>
	<span>©2017  广东石油化工学院创新创业学院  版权所有</span>
</div>
{{/if}}
</body>
</html>